package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门办理相关人员对象 mdjf_case_person
 * 
 * @author ruoyi
 * @date 2025-03-28
 */
public class MdjfCasePerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 相关人员id */
    private Long personId;

    /** 案件ID */
    @Excel(name = "案件ID")
    private Long caseMainId;

    /** 案件相关人员-姓名 */
    @Excel(name = "案件相关人员-姓名")
    private String casePersonName;

    /** 案件相关人员-手机号 */
    @Excel(name = "案件相关人员-手机号")
    private String casePersonPhonenumber;

    /** 案件相关人员-身份证号 */
    @Excel(name = "案件相关人员-身份证号")
    private String casePersonCardno;

    /** 案件相关人员-用户性别（0男 1女 2未知） */
    @Excel(name = "案件相关人员-用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String casePersonSex;

    /** 案件相关人员-家庭住址或单位 */
    @Excel(name = "案件相关人员-家庭住址或单位")
    private String casePersonAvatar;

    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }

    public void setCaseMainId(Long caseMainId) 
    {
        this.caseMainId = caseMainId;
    }

    public Long getCaseMainId() 
    {
        return caseMainId;
    }

    public void setCasePersonName(String casePersonName) 
    {
        this.casePersonName = casePersonName;
    }

    public String getCasePersonName() 
    {
        return casePersonName;
    }

    public void setCasePersonPhonenumber(String casePersonPhonenumber) 
    {
        this.casePersonPhonenumber = casePersonPhonenumber;
    }

    public String getCasePersonPhonenumber() 
    {
        return casePersonPhonenumber;
    }

    public void setCasePersonCardno(String casePersonCardno) 
    {
        this.casePersonCardno = casePersonCardno;
    }

    public String getCasePersonCardno() 
    {
        return casePersonCardno;
    }

    public void setCasePersonSex(String casePersonSex) 
    {
        this.casePersonSex = casePersonSex;
    }

    public String getCasePersonSex() 
    {
        return casePersonSex;
    }

    public void setCasePersonAvatar(String casePersonAvatar) 
    {
        this.casePersonAvatar = casePersonAvatar;
    }

    public String getCasePersonAvatar() 
    {
        return casePersonAvatar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personId", getPersonId())
            .append("caseMainId", getCaseMainId())
            .append("casePersonName", getCasePersonName())
            .append("casePersonPhonenumber", getCasePersonPhonenumber())
            .append("casePersonCardno", getCasePersonCardno())
            .append("casePersonSex", getCasePersonSex())
            .append("casePersonAvatar", getCasePersonAvatar())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
